package com.wangfei.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class User {
    private Integer id;
    private Integer pid;
    @NotEmpty(message = "昵称不能为空")
    private String nickname;
    private String phone;
    private String avatar;
    private Integer gender;
    private String openid;
    private Integer status;
    private Integer is_delete;
    private String updated_at;
    private String created_at;
    private List<UserAddress> user_address;
}
